//
//  ZZP_BaseModel.h
//  TravelToWhere
//
//  Created by dllo on 15/9/9.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZZP_BaseModel : NSObject

/*
 *  @brief 实例方法KVC
 *
 *  @param dictionary 传入的字典
 *
 *  @return 返回model
 */
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;

/*
 *  @brief 类方法KVC
 *
 *  @param dictionary 传入的字典
 *
 *  @return 返回model
 */


+ (instancetype)baseModelWithDictionary:(NSDictionary *)dictionary;

/*
 *  @brief 转化 字典转model将model存到数组中
 *
 *  @param array 传入的数组(套字典)
 *
 *  @return 返回的套model
 */
+ (NSMutableArray *)baseModelArrayWithArray:(NSArray *)array;
@end
